package com.wwj.my_ummary.nodes.controller;


import com.wwj.my_ummary.nodes.service.NodesService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wwj
 * @since 2021-02-05
 */
@Controller
@RequestMapping("/nodes")
public class NodesController {

    @Resource
    private NodesService nodesService;

    @RequestMapping("all")
    @ResponseBody
    public void all(String userId){
      nodesService.ssss(userId);
    }


}
